<?php header("Access-Control-Allow-Origin: *");    header("Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS");    header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");  $filenameCsv = "./dbase.csv"; $dataInfoDB = array(); $fpDB = fopen($filenameCsv, "r");  if ($fpDB){ while (($rowDB = fgetcsv($fpDB)) !== FALSE) {$dataInfoDB[] = $rowDB;} $servername = $dataInfoDB[0][0]; $username = $dataInfoDB[0][1]; $password = $dataInfoDB[0][2]; $dbname = $dataInfoDB[0][3]; $userPasswd = $dataInfoDB[0][4]; $baseURL = $dataInfoDB[0][5]; }else{ echo "无法读取数据库文件数据，请确保文件权限正确". "<br>"; } ?>